package de.mfits.fireflyplayer;

import static de.mfits.fireflyplayer.storage.DbHelper.ARTIST;
import android.os.Bundle;
import de.mfits.fireflyplayer.storage.DbHelper;

public class BrowseArtistSongsActivity extends BrowseSongsActivity {
  private static final String SELECTION = ARTIST + "=?";

  public BrowseArtistSongsActivity() {
    super(SELECTION);
  }

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    String artist = getIntent().getStringExtra(DbHelper.ARTIST);
    setTitle(artist);
    setSelectionArgs(new String[] { artist});
  }

}
